<?php defined('_JEXEC') or die('Restricted access'); ?>



<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'Camp Details' ); ?></legend>

		<table class="camps <?php if($this->camp->Approved) echo 'approved'; else echo 'notapproved';?>">
		<tr><td class="fieldtitle large">
			<?php echo JText::_( 'Camp Name' ); ?>	</td>
			<td><input class="fulltext large" type="text" name="CampName" id="CampName" 
				size="32" maxlength="256" value="<?php echo $this->camp->CampName;?>" /></td> </tr>
				
		<tr><td class="fieldtitle">
			<?php echo JText::_( 'Camp Approved?' ); ?>	</td>
			<td><input type="radio" name="Approved" value="1" <?php if($this->camp->Approved) echo 'checked="checked"'; ?>/> Yes
			<input class="RadioNo"type="radio" name="Approved" value="0" <?php if(!$this->camp->Approved) echo 'checked="checked"'; ?>/> No </td></tr>
		</tr>
				
		<tr><td class="fieldtitle">
			<?php echo JText::_( 'Region' ); ?></td>
			<td>
				<select name="Region">
					<option value="Coastal" <?php if($this->camp->Region == "Coastal") echo ' selected="selected"';?> >Coastal</option>
					<option value="Interior" <?php if($this->camp->Region == "Interior") echo ' selected="selected"';?>>Interior</option>
					<option value="North" <?php if($this->camp->Region == "North") echo ' selected="selected"';?>>North</option>
					<option value="Vancouver Island" <?php if($this->camp->Region == "Vancouver Island") echo ' selected="selected"';?>>Vancouver Island</option>
				</select></td></tr>

		<tr><td class="fieldtitle">
			<?php echo JText::_( 'City' ); ?>:	</td>
			<td><input class="text" type="text" name="City" id="City" 
				size="32" maxlength="64" value="<?php echo $this->camp->City;?>" /></td></tr>
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Postal Code' ); ?>	</td>
			<td><input class="text_area" type="text" name="PostalCode" id="PostalCode" 
				size="7" maxlength="7" value="<?php echo $this->camp->PostalCode;?>" /></td></tr>
				
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Minimum Age' ); ?>	</td>
			<td><input class="text_area" type="text" name="MinAge" id="MinAge" 
				size="3" maxlength="2" value="<?php echo $this->camp->MinAge;?>" /></td></tr>
				
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Maximum Age' ); ?></td>
			<td><input class="text_area" type="text" name="MaxAge" id="MaxAge" 
				size="3" maxlength="3" value="<?php echo $this->camp->MaxAge;?>" /></td></tr>
				
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Start Date' ); ?>	</td>
			<td><input class="text_area" type="text" name="StartDate" id="StartDate" 
				size="10" maxlength="10" value="<?php echo $this->camp->StartDate;?>" /></td></tr>
				
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'End Date' ); ?>	</td>
			<td><input class="text_area" type="text" name="EndDate" id="EndDate" 
				size="10" maxlength="10" value="<?php echo $this->camp->EndDate;?>" /></td></tr>
				
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Description' ); ?>	</td>
			<td><textarea rows="6" cols="20" name="Description"><?php echo $this->camp->Description;?></textarea></td></tr>
			
		<tr><td  class="fieldtitle">
			<?php echo JText::_( 'Contact Name' ); ?>	</td>
			<td><input class="text" type="text" name="ContactName" id="ContactName" 
				size="32" maxlength="128" value="<?php echo $this->camp->ContactName;?>" /></td></tr>
				
		<tr><td class="fieldtitle">Contact Name Visible?</td>
			<td><input type="radio" name="ContactNameVisible" value="1" <?php if($this->camp->ContactNameVisible) echo 'checked="checked"'; ?>/> Yes
			<input class="RadioNo"type="radio" name="ContactNameVisible" value="0" <?php if(!$this->camp->ContactNameVisible) echo 'checked="checked"'; ?>/> No 
			</td></tr>
		<tr><td class="fieldtitle">
			<?php echo JText::_( 'Email' ); ?></td>
			<td><input class="text" type="text" name="Email" id="Email" 
				size="32" maxlength="128" value="<?php echo $this->camp->Email;?>" /></td></tr>
				
		<tr><td class="fieldtitle"> Email Visible?</td>
			<td><input type="radio" name="EmailVisible" value="1" <?php if($this->camp->EmailVisible) echo 'checked="checked"'; ?>/> Yes
			<input class="RadioNo"type="radio" name="EmailVisible" value="0" <?php if(!$this->camp->EmailVisible) echo 'checked="checked"'; ?>/> No 
			</td></tr>
				
		<tr><td class="fieldtitle">
			<?php echo JText::_( 'Website' ); ?>	</td>
			<td><input class="fulltext" type="text" name="Website" id="Website" 
				size="32" maxlength="128" value="<?php echo $this->camp->Website;?>" /></td></tr>
				
		<tr><td class="fieldtitle">
			<?php echo JText::_( 'Phone Number' ); ?>	</td>
			<td><input class="phone" type="text" name="Phone" id="Phone" 
				size="32" maxlength="24" value="<?php echo $this->camp->Phone;?>" /></td></tr>
				
		<tr><td class="fieldtitle">Phone Number Visible?</td>
			<td><input type="radio" name="PhoneVisible" value="1" <?php if($this->camp->PhoneVisible) echo 'checked="checked"'; ?>/> Yes
			<input class="RadioNo"type="radio" name="PhoneVisible" value="0" <?php if(!$this->camp->PhoneVisible) echo 'checked="checked"'; ?>/> No 
			</td></tr>
				
	</table>
	</fieldset>
</div>
<div class="clr"></div>

<input type="hidden" name="option" value="com_summercamps" />
<input type="hidden" name="ID" value="<?php echo $this->camp->ID; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="camp" />
</form>
